//
//  PRealAuthResultViewController.m
//  Kjs-iOS
//
//  Created by 江伟 on 16/7/27.
//  Copyright © 2016年 jmhz. All rights reserved.
//

#import "PRealAuthResultViewController.h"

@interface PRealAuthResultViewController ()

@property (nonatomic,weak) IBOutlet UILabel *pNameLab;
@property (nonatomic,weak) IBOutlet UILabel *pIdNumLab;
@property (nonatomic,weak) IBOutlet UILabel *statusInfoLab;


@end

@implementation PRealAuthResultViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.pNameLab.text = self.pRealAuth.pName;
    self.pIdNumLab.text = self.pRealAuth.pIdNum;
    if ([self.pRealAuth.auditingOpinion isEqualToString:@"0"]) {
        self.statusInfoLab.text = @"您的实名认证信息审核不通过！";
    }else{
        self.statusInfoLab.text = @"您的实名认证信息审核已通过！";
    }
}

@end
